package com.ruoyi.department.mapper;

import java.util.List;
import com.ruoyi.department.domain.TestDepartment;

/**
 * 部门信息Mapper接口
 * 
 * @author 程序员dd
 * @date 2025-09-04
 */
public interface TestDepartmentMapper 
{
    /**
     * 查询部门信息
     * 
     * @param departmentId 部门信息主键
     * @return 部门信息
     */
    public TestDepartment selectTestDepartmentByDepartmentId(Long departmentId);

    /**
     * 查询部门信息列表
     * 
     * @param testDepartment 部门信息
     * @return 部门信息集合
     */
    public List<TestDepartment> selectTestDepartmentList(TestDepartment testDepartment);

    /**
     * 新增部门信息
     * 
     * @param testDepartment 部门信息
     * @return 结果
     */
    public int insertTestDepartment(TestDepartment testDepartment);

    /**
     * 修改部门信息
     * 
     * @param testDepartment 部门信息
     * @return 结果
     */
    public int updateTestDepartment(TestDepartment testDepartment);

    /**
     * 删除部门信息
     * 
     * @param departmentId 部门信息主键
     * @return 结果
     */
    public int deleteTestDepartmentByDepartmentId(Long departmentId);

    /**
     * 批量删除部门信息
     * 
     * @param departmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTestDepartmentByDepartmentIds(Long[] departmentIds);
}
